package top.wardyan.wmes.rfid.kqa.dto;

import java.time.LocalDateTime;

/**
 * @author lcf
 * @CreateTime 2022/1/19 16:58
 * @Description
 */
public class DrvCmdTempDto {
    /** 指令流水号（唯一） **/
    private Integer deviceCmdID;
    /** 指令类型（控制器指令还是终端机指令，0是终端机，1是控制器） **/
    private Integer cmdType;
    /** 组号 **/
    private Integer gid;
    /** 设备编号 **/
    private Integer did;
    /** 指令编号（如显示指令28，等 **/
    private Integer cmdNumber;
    /** 指令内容 **/
    private String cmdContent;
    /** 指令生成时间 **/
    private LocalDateTime cmdMakeTime;
    /** 指令失败后重发次数,当返回的指令不重要时填0 **/
    private Integer retryTimes;
	public Integer getDeviceCmdID() {
		return deviceCmdID;
	}
	public DrvCmdTempDto setDeviceCmdID(Integer deviceCmdID) {
		this.deviceCmdID = deviceCmdID;
		return this;
	}
	public Integer getCmdType() {
		return cmdType;
	}
	public DrvCmdTempDto setCmdType(Integer cmdType) {
		this.cmdType = cmdType;
		return this;
	}
	public Integer getGid() {
		return gid;
	}
	public DrvCmdTempDto setGid(Integer gid) {
		this.gid = gid;
		return this;
	}
	public Integer getDid() {
		return did;
	}
	public DrvCmdTempDto setDid(Integer did) {
		this.did = did;
		return this;
	}
	public Integer getCmdNumber() {
		return cmdNumber;
	}
	public DrvCmdTempDto setCmdNumber(Integer cmdNumber) {
		this.cmdNumber = cmdNumber;
		return this;
	}
	public String getCmdContent() {
		return cmdContent;
	}
	public DrvCmdTempDto setCmdContent(String cmdContent) {
		this.cmdContent = cmdContent;
		return this;
	}
	public LocalDateTime getCmdMakeTime() {
		return cmdMakeTime;
	}
	public DrvCmdTempDto setCmdMakeTime(LocalDateTime cmdMakeTime) {
		this.cmdMakeTime = cmdMakeTime;
		return this;
	}
	public Integer getRetryTimes() {
		return retryTimes;
	}
	public DrvCmdTempDto setRetryTimes(Integer retryTimes) {
		this.retryTimes = retryTimes;
		return this;
	}
}
